package wt.jly.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 主控制器
 *
 * @author lanyangji
 * @date 2018/9/7 14:11
 */
@Controller
@RequestMapping("/")
public class MainController {

    @RequestMapping("/index")
    public String index() {
        return "index";
    }

    @RequestMapping("/toLogin")
    public String login() {
        return "login";
    }

    @RequestMapping("/unauth")
    public String unauth() {
        return "unauth";
    }

}
